import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
// 引入路由
import router from './router/index'
// 引入vuex配置文件
import store from './store'
//引入样式库
import './assets/css/reset.css'
import './assets/css/iconfont.css'
//引入api
import api from './api'
// 引入语言
import i18n from './lang/index'
import './router/permission'
import './untils/localStrotege'
// echarts 的使用————全局挂载
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.prototype.$api = api

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  store,
  i18n
}).$mount('#app')
